package com.ephra.dao.proxy;

import org.junit.jupiter.api.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.ephra.dao.model.User;

public class Test2 {
	@SuppressWarnings("resource")	
	@Test
	public void test() {
		System.out.println(0);
		ApplicationContext context=new ClassPathXmlApplicationContext("applicationContext-User.xml");
		System.out.println(1);
		User user=(User)context.getBean("user");
		System.out.println(2);
		System.out.println(user);
	}
}
